package com.boruiimage.demo.controller;

import com.boruiimage.demo.doMain.Result;
import com.boruiimage.demo.repository.checkPersonDao;
import com.boruiimage.demo.repository.registerMemberUserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class checkPersonController {
    @Autowired
    registerMemberUserDao rmud;
    private checkPersonDao cpd;
    @RequestMapping("/check")
    public Result chenckPersonVip(@RequestParam(value = "userName")String userName){
        return cpd.selectByuserName(userName);
        aaaa
    }
}
